package com.aprivate.kn.ratingsystem.daoBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;

/**
 * Created by kenan on 2018/11/29.
 * 要素db
 */
@Entity
public class Elements {

    /**
     * productinfo_id : 25
     * id : 77
     * context : 管理完整性
     * fId : 0
     * remark : null
     * createTime : 1541321579000
     * creator : 小明
     * editTime : 1541321578000
     * editor : null
     * yn : 1
     */

    private String productinfo_id;
    @Id(autoincrement = false)
    private Long id;
    private String context;
    private int fId;
    private String remark;
    private long createTime;
    private String creator;
    private long editTime;
    private String editor;
    private int yn;

    @Generated(hash = 2058863253) @Keep
    public Elements(String productinfo_id, Long id, String context, int fId,
            String remark, long createTime, String creator, long editTime,
            String editor, int yn) {
        this.productinfo_id = productinfo_id;
        this.id = id;
        this.context = context;
        this.fId = fId;
        this.remark = remark;
        this.createTime = createTime;
        this.creator = creator;
        this.editTime = editTime;
        this.editor = editor;
        this.yn = yn;
    }

    @Generated(hash = 701129001)
    public Elements() {
    }

    public String getProductinfo_id() {
        return productinfo_id;
    }

    public void setProductinfo_id(String productinfo_id) {
        this.productinfo_id = productinfo_id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public int getFId() {
        return fId;
    }

    public void setFId(int fId) {
        this.fId = fId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public long getEditTime() {
        return editTime;
    }

    public void setEditTime(long editTime) {
        this.editTime = editTime;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public int getYn() {
        return yn;
    }

    public void setYn(int yn) {
        this.yn = yn;
    }
}
